package com.service;

import com.dto.in.OrderListInfo;
import com.entity.*;

import java.math.BigDecimal;
import java.util.List;

public interface OrderService {
    List<RecordInfo> orderRecord(Integer stdUserId,Integer teaUserId);

    BigDecimal findTeacherHourPrice(Integer teaUserId);

    StudentInfo findZiJiGerMsg(Integer userId);

    RecordInfo orderDetails(Integer orderId);

    int deleteOrder(Integer orderId);

    int addOrder(OrderListInfo orderListInfo);

    int updateRecordStatus(Integer id);

    ParentMsgInfo findOrderPayMsg(Integer id);

    int updateOrderStatus(Integer id,String nonceStr,Integer userId,BigDecimal yb,BigDecimal fhPrice,BigDecimal totalPrice,BigDecimal zzPrice);

    List<RecordOrderInfo> findSmallOrder(Integer id);

    int confirmEnd(Integer id,Integer recordId,BigDecimal price);

    int insertRefund(Integer recordId);

    int savePath(Integer recordId,String thisLocation,String thisLat,String thisLog,String aimLocation,String aimLat,String aimLog);

    List<LoginInfo> findRanking(Integer limit,Integer type);

    List<LoginInfo> findJiLuList(Integer limit);

}

